package ncut.shumei.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class MaintenanceTask {
    private Integer id;
    private Integer elevatorId;     // 电梯ID
    private Integer maintainerId;   // 维护人员ID
    private LocalDateTime startTime;    // 开始时间
    private LocalDateTime endTime;      // 结束时间
    private Integer estimatedDuration;  // 预计持续时间(分钟)
    private Integer actualDuration;     // 实际持续时间(分钟)
    private String status;          // 任务状态: PENDING/IN_PROGRESS/COMPLETED
    private String description;     // 任务描述
    private String maintenanceType; // 维护类型: ROUTINE/REPAIR/EMERGENCY
    private Integer priority;       // 优先级: 1-低, 2-中, 3-高
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 